`adduser [options] user group` fails ubuntu 11.04

Posted by Rob on Super User See other posts from Super User or by Rob
Published on 2011-11-11T16:31:40Z Indexed on 2011/11/11 17:59 UTC
Read the original article Hit count: 235

Filed under:
|
|

I'm want to use adduser However it doesn't seem to work if I provide the second argument for the user's group

root@a:~# adduser rick staff
adduser: The user `rick' does not exist.

The group exists

root@a:~# addgroup staff
addgroup: The group `staff' already exists.

The man page says this should work...

adduser [options] user group

Any ideas?

I can do:

adduser --ingroup staff rick

So no massive issue, just seems strange.

© Super User or respective owner

Related posts about linux

Related posts about bash